package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("admin_account")
public class AdminAccount {
    @TableId(type = IdType.AUTO)
    private Long adminAccountId;
    private String adminUsername;
    private String adminPassword;
    private String adminRole;

    private Long adminId;
    private Admin admin;
}
